import request from "@/utils/request"

export function queryOneListControlByStatus(data) {
  return request({
    url: "/oneBuildOneFloor/queryOneListControlByStatus",
    method: "get",
    params: data
  })
}

export function queryFourListControlByStatus(data) {
  return request({
    url: "/oneBuildOneFloor/queryFourListControlByStatus",
    method: "get",
    params: data
  })
}

export function queryFiveListControlByStatus(data) {
  return request({
    url: "/oneBuildOneFloor/queryFiveListControlByStatus",
    method: "get",
    params: data
  })
}

export function queryFiveListControlByStatusV2(data) {
  return request({
    url: "/oneBuildOneFloor/queryFiveListControlByStatusV2",
    method: "get",
    params: data
  })
}

export function querySixListControlByStatus(data) {
  return request({
    url: "/oneBuildOneFloor/querySixListControlByStatus",
    method: "get",
    params: data
  })
}

export function setStatusByDevice(data) {
  return request({
    url: "/oneBuildOneFloor/setStatusByDevice",
    method: "get",
    params: data
  })
}

export function queryControlList(data) {
  return request({
    url: "/mqtt/queryControlList",
    method: "get",
    params: data
  })
}

export function queryControlListV2(data) {
  return request({
    url: "/mqtt/queryControlListV2",
    method: "get",
    params: data
  })
}

export function queryControlListV3(data) {
  return request({
    url: "/mqtt/queryControlListV3",
    method: "get",
    params: data
  })
}

export function makeDeviceControl(data) {
  return request({
    url: "/mqtt/makeDeviceControl",
    method: "post",
    data
  })
}
